package com.csun.cmny.provider.model.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "cn_dmc_csun_version_set_device")
public class DmcCsunVersionSetDevice {
    /**
     * Id
     */
    @Id
    @Column(name = "version_set_id")
    private Long versionSetId;

    /**
     * Id
     */
    @Id
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 设备编号
     */
    @Column(name = "device_no")
    private String deviceNo;

    /**
     * 更新前版本号
     */
    @Column(name = "before_version")
    private String beforeVersion;

    /**
     * 更新后版本号
     */
    @Column(name = "after_version")
    private String afterVersion;

    /**
     * 待更新
     */
    private Integer stat;

    /**
     * 指令Id
     */
    @Column(name = "task_id")
    private String taskId;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

}